<div style="padding: 1rem">
  <img class="detail-pic" ng-repeat="i in imgList" ng-src="{{i.imageUrl}}">
  <h3>
    {{detail.name}} --{{detail.votes}}票
    <!--<h3 style="float: right;display: inline">{{detail.votes}}</h3>-->
  </h3>
  <p style="margin: 10px 0">{{desc}}</p>
  <a class="weui_btn weui_btn_primary" ng-click="vote()">投票</a>
  <a class="weui_btn weui_btn_plain_default" style="margin-top: 10px" ng-click="back()">返回</a>
</div>


<div id="loadingToast" class="weui_loading_toast" ng-show="loading">
  <div class="weui_mask_transparent"></div>
  <div class="weui_toast">
    <div class="weui_loading">
      <!-- :) -->
      <div class="weui_loading_leaf weui_loading_leaf_0"></div>
      <div class="weui_loading_leaf weui_loading_leaf_1"></div>
      <div class="weui_loading_leaf weui_loading_leaf_2"></div>
      <div class="weui_loading_leaf weui_loading_leaf_3"></div>
      <div class="weui_loading_leaf weui_loading_leaf_4"></div>
      <div class="weui_loading_leaf weui_loading_leaf_5"></div>
      <div class="weui_loading_leaf weui_loading_leaf_6"></div>
      <div class="weui_loading_leaf weui_loading_leaf_7"></div>
      <div class="weui_loading_leaf weui_loading_leaf_8"></div>
      <div class="weui_loading_leaf weui_loading_leaf_9"></div>
      <div class="weui_loading_leaf weui_loading_leaf_10"></div>
      <div class="weui_loading_leaf weui_loading_leaf_11"></div>
    </div>
    <p class="weui_toast_content">投票中</p>
  </div>
</div>

<div class="weui_dialog_alert" ng-show="noId">
  <div class="weui_mask"></div>
  <div class="weui_dialog">
    <div class="weui_dialog_hd"><strong class="weui_dialog_title">投票失败</strong></div>
    <div class="weui_dialog_bd">请从活动入口重新进入后投票</div>
    <div class="weui_dialog_ft">
      <a class="weui_btn_dialog primary" ng-click="noId = false">确定</a>
    </div>
  </div>
</div>
